<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 2018/8/20
 * Time: 13:39
 */
namespace app\admin\controller;

use think\Db;

class About extends Base
{
    public function index(){
        $data = Db::table('about')
            ->order('id asc')
            ->paginate(5);
        $page = $data->render();
        return view('about/about',['data'=>$data,'page'=>$page]);
    }
}